package com.rybbaby.tss.front.tssPackagePostpone.service.imp;

import com.rybbaby.tss.core.web.service.imp.BaseServiceImp;
import com.rybbaby.tss.front.tssPackagePostpone.dao.ITssPackagePostponeDao;
import com.rybbaby.tss.front.tssPackagePostpone.entity.TssPackagePostpone;
import com.rybbaby.tss.front.tssPackagePostpone.service.ITssPackagePostponeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.xml.ws.soap.Addressing;
import java.util.List;
import java.util.Map;

/**
 * @description 课时包延期表数据库操作服务实现
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-25 下午5:12:18
 */
@Service
@Transactional
public class TssPackagePostponeServiceImp extends BaseServiceImp<TssPackagePostpone> implements ITssPackagePostponeService {

    @Autowired
    private ITssPackagePostponeDao dao;

    @Override
    public List<Map<String, Object>> tssPackagePostponeListByMemberId(String memberId,String memberPackageId) {
        return dao.tssPackagePostponeListByMemberId(memberId,memberPackageId);
    }

    @Override
    public List<Map<String, Object>> getDetailListByMemberId(String memberId, Integer type) {
        return dao.getDetailListByMemberId(memberId,type);
    }
}
